package mr.fresh.mapper.manage;

import java.util.List;
import mr.fresh.entity.manange.FreshStock;
import mr.fresh.entity.manange.FreshStockExample;
import org.apache.ibatis.annotations.Param;

public interface FreshStockMapper {
    long countByExample(FreshStockExample example);

    int deleteByExample(FreshStockExample example);

    int deleteByPrimaryKey(Long id);

    int insert(FreshStock record);

    int insertSelective(FreshStock record);

    List<FreshStock> selectByExample(FreshStockExample example);

    FreshStock selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") FreshStock record, @Param("example") FreshStockExample example);

    int updateByExample(@Param("record") FreshStock record, @Param("example") FreshStockExample example);

    int updateByPrimaryKeySelective(FreshStock record);

    int updateByPrimaryKey(FreshStock record);
}